<template>
  <div v-if="appSetting.showLogo" class="logo-container">
    <img class="logo" src="@/assets/imgs/logo3.png" />
    <!-- {{ appConfig.appTitle }} -->
    <!-- <img class="logo-name" src="@/assets/imgs/logo-name.png" /> -->
  </div>
</template>

<script setup lang="ts">
import { useAppSetting } from '@/store'
import { appConfig } from '@/config'

defineOptions({
  name: 'LayoutCpnMenuLogo'
})

const { appSetting } = useAppSetting()
</script>

<style lang="scss" scoped>
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  font-size: 20px;
  font-weight: bold;

  @include m-menu-theme(true);

  .logo {
    height: 45px;
    margin: 0 15px 0 25px;
  }
  .logo-name {
    height: 30px;
  }
}
</style>
